package com.hutao.mapper;

import com.hutao.pojo.Address;
import org.w3c.dom.stylesheets.LinkStyle;

import java.util.List;

/**
 * @author HUTAO
 * @Description
 * @date 2022/3/10 8:53
 */
public interface AddressMapper {
	
	//根据用户id查地址
	List<Address> getAddress(int customerid);
	
	//根据地址id查地址
	Address getAddressByAid(int addressid);
	
	//修改地址
	int updateAddress(Address address);
	
	//删除地址
	int deleteAddress(int addressid);
	
	//添加地址
	int addAddress(Address address);

}
